﻿using System;
using System.Configuration;
using System.Web.Configuration;


namespace BBI.Infrastructure.Config
{
    public class SocialElement : ConfigurationElement
    {
        [ConfigurationProperty("oicq")]
        public string Oicq
        {
            get { return (string)this["oicq"]; }
            set { this["oicq"] = value; }
        }

        [ConfigurationProperty("oicqTwo")]
        public string OicqTwo
        {
            get { return (string)this["oicqTwo"]; }
            set { this["oicqTwo"] = value; }
        }

        [ConfigurationProperty("txWeibo")]
        public string TXWeibo
        {
            get { return (string)this["txWeibo"]; }
            set { this["txWeibo"] = value; }
        }

        [ConfigurationProperty("weixing")]
        public string Weixing
        {
            get { return (string)this["weixing"]; }
            set { this["weixing"] = value; }
        }

        [ConfigurationProperty("weixingCode")]
        public string WeixingCode
        {
            get { return (string)this["weixingCode"]; }
            set { this["weixingCode"] = value; }
        }

        [ConfigurationProperty("socialDir", DefaultValue = "/Content/Uploads/Social")]
        public string SocialDir
        {
            get { return (string)this["socialDir"]; }
            set { this["socialDir"] = value; }
        }

        [ConfigurationProperty("sinaWeibo")]
        public string SinaWeibo
        {
            get { return (string)this["sinaWeibo"]; }
            set { this["sinaWeibo"] = value; }
        }

        [ConfigurationProperty("sinaWeiBoCode")]
        public string SinaWeiBoCode
        {
            get { return (string)this["sinaWeiBoCode"]; }
            set { this["sinaWeiBoCode"] = value; }
        }

        [ConfigurationProperty("taobao")]
        public string Taobao
        {
            get { return (string)this["taobao"]; }
            set { this["taobao"] = value; }
        }
        //[ConfigurationProperty("skype")]
        //public string Skype
        //{
        //    get { return (string)this["skype"]; }
        //    set { this["skype"] = value; }
        //}


    }

}